package com.zc.wxPay.util;

/**
 * @Author gaojikun
 * @Description 微信支付配置类
 */
public class Configure {

    //小程序ID
private static String appID = "wx3cbf9bba65d4c60f";
//    private static String appID = "wxc3f07be87d007842";

    // 小程序的secret
private static String secret = "db26a37f92afb59642f16b71b1062e92";
//    private static String secret = "c874b72981cbe3e1cb9d47a791f08d89";

    //商户号
//    private static String mch_id = "1645834853";//正晨商户号
    private static String mch_id = "1630048287";//新能源商户号


    // 商户支付秘钥
//    private static String key = "2zlh2zlhpdkpdkyzmyyjyzmyedzqgzqg";
//    private static String key = "2zlh2zlhpdkpdkyzmyyjyzmyedzqgzqw";//正晨商户密钥
    private static String key = "c874b72981cbe3e1cb9d47a791f08d89";//新能源商户密钥

    // 支付回调通知地址
    private static String notify_url = "https://www.sdzctech.cn/api/wxPay/callback";

    // 退款回调通知地址
    private static String refund_notify_url = "https://www.sdzctech.cn/api/wxPay/refundCallback";

    //交易类型
    private static  String trade_type = "JSAPI";

    //统一下单API接口链接
    private static String url = "https://api.mch.weixin.qq.com/pay/unifiedorder";

    //查询订单API接口链接
    private static String query_url = "https://api.mch.weixin.qq.com/pay/orderquery";

    //关闭订单API接口链接
    private static String close_url = "https://api.mch.weixin.qq.com/pay/closeorder";

    //申请退款API接口链接
    private static String refund_url = "https://api.mch.weixin.qq.com/secapi/pay/refund";

    //查询退款API接口链接
    private static String refundquery_url = "https://api.mch.weixin.qq.com/pay/refundquery";

    public static String getKey() {
        return key;
    }

    public static void setKey(String key) {
        Configure.key = key;
    }

    public static String getAppID() {
        return appID;
    }

    public static void setAppID(String appID) {
        Configure.appID = appID;
    }

    public static String getMch_id() {
        return mch_id;
    }

    public static void setMch_id(String mch_id) {
        Configure.mch_id = mch_id;
    }

    public static String getSecret() {
        return secret;
    }

    public static void setSecret(String secret) {
        Configure.secret = secret;
    }

    public static String getNotify_url() {
        return notify_url;
    }

    public static void setNotify_url(String notify_url) {
        Configure.notify_url = notify_url;
    }

    public static String getTrade_type() {
        return trade_type;
    }

    public static void setTrade_type(String trade_type) {
        Configure.trade_type = trade_type;
    }

    public static String getUrl() {
        return url;
    }

    public static void setUrl(String url) {
        Configure.url = url;
    }

    public static String getQuery_url() {
        return query_url;
    }

    public static void setQuery_url(String query_url) {
        Configure.query_url = query_url;
    }

    public static String getClose_url() {
        return close_url;
    }

    public static void setClose_url(String close_url) {
        Configure.close_url = close_url;
    }

    public static String getRefund_url() {
        return refund_url;
    }

    public static void setRefund_url(String refund_url) {
        Configure.refund_url = refund_url;
    }

    public static String getRefundquery_url() {
        return refundquery_url;
    }

    public static void setRefundquery_url(String refundquery_url) {
        Configure.refundquery_url = refundquery_url;
    }

    public static String getRefund_notify_url() {
        return refund_notify_url;
    }

    public static void setRefund_notify_url(String refund_notify_url) {
        Configure.refund_notify_url = refund_notify_url;
    }
}
